package ca.jerg.data;

public interface IErgFile
{
	/**
	 * Write the .ERG file to the console via standard out.
	 */
	public void write();
	
	/**
	 * Write the .ERG file to the file system.
	 * Typically this is a file constructed via: 
	 * 
	 * @param fileName	file to write to
	 * @return			true on success, false otherwise
	 */	
	public boolean write( String fileName );
	
	/**
	 * Read a .ERG file from the file system.
	 * 
	 * @param fileName	file to read from
	 * @return			0 on success, 1 on bad file
	 */	
	public int read( String fileName );
}
